﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsTools
{
    class PMS_ProjectTemplate
    {
        public PMS_ProjectTemplate()
        {
            PMS_PTDetails = null;
            //懒加载
        }
        public string TemplateID { get; set; }

        public string ProjectTemplateCode { get; set; }
        public string ProjectTemplateName { get; set; }
        public string ProjectType { get; set; }


        public string ActiveFlag { get; set; }
        public string Remark { get; set; }

        public string ModifiedBy { get; set; }
        public string ModifiedAt { get; set; }
        public string CreatedBy { get; set; }
        public string CreatedAt { get; set; }

        public IEnumerable<PMS_PTDetail> PMS_PTDetails { get; set; }

    }


    class PMS_PTDetail
    {
        public string LineItemID { get; set; }

        public string LevelCode { get; set; }
        public string Level { get; set; }
        public string ChildCount { get; set; }
        public string ItemType { get; set; }

        public string ItemID { get; set; }
        public string ItemName { get; set; }
        public string Sort { get; set; }
        public string Remark { get; set; }


        public string ModifiedBy { get; set; }
        public string ModifiedAt { get; set; }
        public string CreatedBy { get; set; }
        public string CreatedAt { get; set; }


    }

    class PMS_Process
    {

        public string EntryID { get; set; }

        public string ProcessCode { get; set; }
        public string ProcessName { get; set; }
        public string ProcessShowName { get; set; }
        public string ProcessMark { get; set; }
        public string ISReply { get; set; }

        public string DocID { get; set; }
        public string Remark { get; set; }

        public string ModifiedBy { get; set; }
        public string ModifiedAt { get; set; }
        public string CreatedBy { get; set; }
        public string CreatedAt { get; set; }

    }

    class PMS_WorkWeek
    {

        public int WorkYear { get; set; }
        public int WorkMonth { get; set; }
        public int WorkPeriod { get; set; }
        public DateTime StartDay { get; set; }
        public DateTime EndDay { get; set; }


    }

    class PMS_WorkDay {

        public int WorkDay { get; set; }
        public int WorkYear { get; set; }
        public int WorkMonth { get; set; }
        public int Day { get; set; }

        public string WorkType { get; set; }
        public int BelongWorkMonth { get; set; }
        public int WorkPeriod { get; set; }
        public string ReminderDay { get; set; }
        public string CalendarType { get; set; }
    }

    class PMS_PTDetailRole {

        public String PTDetailRoleID { get; set; }
        public String RelationID { get; set; }
        public String AuthFlag { get; set; }
            
    
    }


}
